﻿using System;


using System.Collections.Generic;


using System.Linq;


using System.Text;


using System.Threading.Tasks;





namespace Animal


{


    class Program


    {


        static void Main(string[] args)


        {


            Fish fish = new Fish();


            fish.BlowBubble();


            Console.WriteLine();


            Console.WriteLine();


            Dog dog = new Dog();


            dog.Bite();


            Console.WriteLine("请用户输入要狗还是鱼？（狗/鱼）");


            string str = Console.ReadLine();


            if (str.Equals("狗"))


            {


                Console.WriteLine("请输入狗的名字：");


                Dog dog = new Dog();


                dog.AnimalName = Console.ReadLine();


                Console.WriteLine("请输入狗的颜色：");


                dog.AmimalColor = Console.ReadLine();


                dog.Bite();


            }


            if (str.Equals("猫"))


            {


                Console.WriteLine("请输入猫的名字：");


                Fish fish = new Fish();


                fish.AnimalName = Console.ReadLine();


                Console.WriteLine("请输入猫的颜色：");


                fish.AmimalColor = Console.ReadLine();


                fish.BlowBubble();


            }


            Console.WriteLine("结束");


        }


    }


}